define(function(require, exports, module) {

	
	
	var dialog = require("dialog");
	require("dialogSkin/default.css");
	//require("dialogSkin/blue.css");
	//require("dialogSkin/green.css");//对话框的皮肤


	module.exports = {
		init : function(){
			$('#button1').bind('click', function(){
				dialog('简单愉悦的接口，强大的表现力，优雅的内部实现', function(){alert('yes');});
			});
			
			$('#button2').bind('click', function(){
				dialog.open('http://www.baidu.com', {title: '提示',width: 800, height: 600});
			});
		}
	}

})